/*******************************************************************************
 * Copyright (c) Jerges A. Bello G. 2014. Reservado todos los derechos.
 ******************************************************************************/
package com.jabex.persistence.model;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: Jerges Bello
 * Date: 10/11/13
 * Time: 19:42
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "ADA_ROL_USUARIO")
public class Rol extends Identity {


	@Column(name = "NAME", length = 20, unique = false, nullable = false)
	private String name;
	@Column(name = "TYPE", length = 40, unique = false, nullable = false)
	private String type;
	@Column(name = "DESCRIPTION", length = 255, unique = false, nullable = true)
	private String description;

	public Rol() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}


	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
